.content-renderer {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  padding: 0rem;
  /* background-color: #f9f9f9; */
  /* border: 0px solid #ddd; */
  border-radius: 4px;
  margin: 10px auto;
  max-width: 800px;
}

.content-renderer h1,
.content-renderer h2,
.content-renderer h3 {
  color: #222;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.markdown-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.markdown-table th,
.markdown-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.markdown-table th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.content-renderer pre {
  background-color: #f4f4f4;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 4px;
  border: 1px solid #ddd;
}
/* 
.custom-code-block {
  background-color: #f6f8fa; 
  border: 1px solid #ddd; 
  border-radius: 4px;
  padding: 12px;
  overflow-x: auto; 
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
} */

.custom-code-block {
  background-color: #f7f7f7;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 1rem 0;
}

/* .inline-code {
  background-color: #f6f8fa;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
} */
.inline-code {
  background-color: #f7f7f7;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

pre.custom-code-block {
  white-space: pre-wrap; /* 自动换行 */
  word-wrap: break-word;
}

.highlight {
  color: #c7254e;
  background-color: #f9f2f4;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* margin: 1rem 0; */
}

/* .content-renderer blockquote {
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f9f9f9;
  border-left: 4px solid #ccc;
  font-style: italic;
  color: #555;
}
  

.content-renderer ul,
.content-renderer ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.content-renderer li {
  margin-bottom: 0.5rem;
}

.code-block {
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 10px;
  overflow-x: auto;
} */